package com.example.web_flux.controller;

import com.example.web_flux.config.PdfWordList;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.view.document.AbstractPdfView;

/**
 * @auth 罗俊华
 * @Date 2022/8/14 10:58 上午
 */
@Controller
public class PdfController {

    @GetMapping("/pdf")
    public AbstractPdfView pdfView(){
        return new PdfWordList();

    }

}
